home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
arrays.exe
/
ARRAYS.DSK
(
.txt
)
< prev
next >
Wrap
Turbo C Context File
|
1991-10-29
|
2KB
|
63 lines
Turbo C Context File
ARRAYS.C
ARRAYS.CPP
*.CPP
\BCC\SMALLDOS.INF
\BCC\INC\*.*
SMALLDOS.INF
\BCC\BCC.INF
\BCC\INCLUDE\*.*
\WINDEV\WINDEV.INF
WINCLASS
WNCLASS
paXExt
register
define
defWndProc
PASCAL
DefWndProc
MessageBox
WNDCLASS
DWORD
*.CPP
ARRAYS.C
ARRAYS.CPP
C:\BCC\INCLUDE\WINDOWS.H
C:\TPW\OWL\WINDOWS.H
C:\ORCMID\DESKTOP\SAMPLE.CPP
C:\ORCMID\DESKTOP\SAMPLE.CPP
C:\WINDEV\WINDEV.INF
C:\BCC\BCC.INF
C:\WINDEV\WINDEV.INF
C:\BCC\NONAME00.CPP
C:\ORCMID\POOL.C
C:\BCC\SMALLDOS.INF
C:\BCC\ARRAYS.CPP
C:\BCC\ARRAYS.C
C:\BCC\ARRAYS.CPP
C:\BCC\ARRAYS.C
C:\BCC\ARRAYS.C
Pixel(int InitX, int InitY)
:Location(InitX, InitY)
{Visible = false;
// Always start as invisible
color = getcolor();
// but assume current foreground color, just in case
Boolean IsVisible(void)
{return Visible;}
// Tell if visible, if some need to know
void Show(void)
{putpixel(ValX, ValY, color);
Visible = true;}
// Showing a color always touches the screen
void Show(int acolor)
{color = acolor;
Show();}
// Default showing always uses the last color
void Hide(void)
{if (Visible) putpixel(ValX, ValY, getbkcolor());
Visible = false;}
void MoveTo(int NewX, int NewY)
{ValX = NewX; ValY = NewY;
if (Visible) Show();}